/* this file is from Rikaichan */
/* this is to reset almost everything under the popup to a sane value */

#furigana-inserter-window, #furigana-inserter-window * {
    width: auto;
    height: auto;
    background: transparent;
    color: #000000;
    border: none !important;
    border-spacing: 0px;
    margin: 0px;
    padding: 0px;
    letter-spacing: normal;
    text-align: left;
    text-decoration: none;
    text-indent: 0px;
    text-transform: none;
    white-space: normal;
    word-spacing: normal;
    font: normal 1em sans-serif;
    visibility: visible;
}

body {
    background: #FFFFBF;
    height: 100%;
}

#furigana-inserter-window {
    padding: 4px;
    background: #FFFFBF;
    min-width: 100px;
}

/* used for word definitions */

#furigana-inserter-window .w-kanji {
    font-size: 1.5em;
    color: #7070E0;
    margin-right: 0.7em;
}

#furigana-inserter-window .w-kana {
    font-size: 1.5em;
    color: #20A020;
}

#furigana-inserter-window .w-conj {
    color: #A0A0A0;
    font-size: 1em;
}

#furigana-inserter-window .w-def {
    font-size: 1em;
}

#furigana-inserter-window .w-title {
    font-size: 1em;
    padding: 2px;
    background: #F0F0B0;
    color: #000000;
}

#furigana-inserter-window .w-na-tb td {
    vertical-align: top;
    padding-right: 0.8em;
}

/* used for kanji information */

#furigana-inserter-window .k-main-tb {
/*    width: 300px;*/
}

#furigana-inserter-window .k-kanji {
    font-family: serif;
    font-size: 2em;
    color: #000000;
}

#furigana-inserter-window .k-eigo {
    font-size: 1em;
}

/* kanji: readings */

#furigana-inserter-window .k-yomi {
    font-size: 1em;
    color: #20A020;
    margin: 4px 0px;
}

#furigana-inserter-window .k-yomi-hi {
    color: #CD5C5C;
    border: 1px solid red;
}

#furigana-inserter-window .k-yomi-ti {
    font-size: 1em;
    color: #000000;
}

/* kanji radical, grade, freq, strokes box */

#furigana-inserter-window .k-abox-tb {
	display: none;
    width: 120px;
    margin-bottom: 4px;
    float: right;
    clear: right;
}

#furigana-inserter-window .k-abox-r {
    font-size: 1em;
    text-align: center;
    padding: 1px 4px;
    background: #FFFFE6;
    color: #000000;
}

#furigana-inserter-window .k-abox-g {
    font-size: 1em;
    text-align: center;
    padding: 1px 4px;
    background: #F7F7D0;
    color: #000000;
}

#furigana-inserter-window .k-abox-f {
    font-size: 1em;
    text-align: center;
    padding: 1px 4px;
    background: #F7F7D0;
    color: #000000;
}

#furigana-inserter-window .k-abox-s {
    font-size: 1em;
    text-align: center;
    padding: 1px 4px;
    background: #FFFFE6;
    color: #000000;
}

/* kanji components box */

#furigana-inserter-window .k-bbox-tb {
    width: 120px;
    margin-bottom: 4px;
    float: right;
    clear: right;
}

#furigana-inserter-window .k-bbox-0a {
    vertical-align: top;
    font-size: 1em;
    padding: 1px 3px;
    background: #FFFFE6;
    color: #000000;
}

#furigana-inserter-window .k-bbox-0b {
    vertical-align: top;
    font-size: 1em;
    padding: 1px 3px;
    background: #FFFFE6;
    color: #000000;
}

#furigana-inserter-window .k-bbox-1a {
    vertical-align: top;
    font-size: 1em;
    padding: 1px 3px;
    background: #F7F7D0;
    color: #000000;
}

#furigana-inserter-window .k-bbox-1b {
    vertical-align: top;
    font-size: 1em;
    padding: 1px 3px;
    background: #F7F7D0;
    color: #000000;
}


/* kanji: misc index */

#furigana-inserter-window .k-mix-tb {
    width: 100%
}

#furigana-inserter-window .k-mix-td0 {
    font-size: 1em;
    background: #FFFFE6;
    color: #000000;
}

#furigana-inserter-window .k-mix-td1 {
    font-size: 1em;
    background: #F7F7D0;
    color: #000000;
}


/* manual query */

#furigana-inserter-window .q-tb td {
}

#furigana-inserter-window .q-w {
    border-right: 1px dotted #B0B0B0 !important;
    padding: 0px 2px;
    vertical-align: top;
    min-width: 300px;
}

#furigana-inserter-window .q-k {
    padding: 0px 2px;
    vertical-align: top;
}
